//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.product.system.service.impl;

import com.product.system.domain.PostList;
import com.product.system.domain.SysPost;
import com.product.system.domain.SysPosteChar;
import com.product.system.mapper.SysPostMapper;
import com.product.system.service.SysPostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysPostServiceImpl implements SysPostService {
    @Autowired
    SysPostMapper postMapper;




    @Override
    public List<SysPost> list(SysPost sysPost) {
        return postMapper.list(sysPost);
    }

    public Boolean save(SysPost sysPost) {
        return postMapper.save(sysPost);
    }

    public Boolean update(SysPost sysPost) {
        return postMapper.update(sysPost);
    }

    public Boolean delete(Integer id) {
        return postMapper.delete(id);
    }

    @Override
    public List<SysPost> listAll() {
        return postMapper.listAll();
    }

    @Override
    public Boolean updatebyid(SysPost sysPost) {
        return postMapper.updatebyid(sysPost);
    }

    @Override
    public List<SysPost> postlistechart() {
        return postMapper.postlistechart();
    }

    @Override
    public List<SysPosteChar> postlistechar() {
        return postMapper.postlistechar();
    }

    @Override
    public List<PostList> postList() {
        return postMapper.postList();
    }


}
